Phillip M. Alday
  • Welcome
  • Blog
  • Statistics and R
  • About me
  • blog

As part of the migration to quarto, the blog has moved to a URL structure. The old URLs should still work, but will be static renders of the old HTML and not reflect the new design.

User and Project Pages on GitHub

Published

11 June 2014

If you want to use both User and Project pages on GitHub Pages, then you need to create the User page first. Project pages created before the User page will no longer be accessible. To restore the project page, make any change to the gh-pages branch for the Project page, commit and push.

I’m guessing this is related to the name structure used. Project pages are http://username.github.io/repository and User pages are http://username.github.io, so Project pages are in a broad sense “subdirectories” of the User pages. Initializing the User page thus blocks the existing subdirectories, in case you have a subdirectory in the User repository with that same name. Changing the Project gh-pages branch re-initializes / refreshes the Project page, restoring the mount point.

What happens when you have a name collision?

Back to top